package org.darkforest.common.services;

import java.util.List;

/**
 * Created by pizazz on 9/29/15.
 */

public interface BaseService<T> {

    int deleteByPrimaryKey(Integer primaryKey);

    int insert(T object);

    int insertSelective(T object);

    T selectByPrimaryKey(Integer primaryKey);

    int updateByPrimaryKeySelective(T object);

    int updateByPrimaryKey(T object);

    List<T> selectByCondition(T object);
}
